package com.oig.base.api.fallback;

import com.oig.base.api.UnitConvRateService;
import com.oig.sys.base.vo.UnitConvRateVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UnitConvRateServiceFallBackImpl implements UnitConvRateService {

    @Setter
    private Throwable cause;


    @Override
    public UnitConvRateVo getUnitConvRate(String unitCode, String targetUnitCode) {
        log.error("feign getUnitConvRate error ", cause);
        return null;
    }
}
